﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsHouseMapBuildingFloor")]
    public class MsHouseMapBuildingFloor : BaseEntity
    {
        [Key]
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid HouseMapId { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string ProjectCode { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string ProjectName { set; get; }

        /// <summary>
        /// 楼栋编号
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string BuildingCode { get; set; }

        /// <summary>
        /// 楼栋名称
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string BuildingName { set; get; }

        /// <summary>
        /// 楼层编号
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string FloorCode { get; set; }

        /// <summary>
        /// 楼层名称
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string FloorName { get; set; }
    }
}
